namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PowerGroup")]
    public partial class PowerGroup
    {
        public PowerGroup()
        {
            Powers = new HashSet<Powers>();
            Role_Power_Group = new HashSet<Role_Power_Group>();
        }

        public int PowerGroupId { get; set; }

        [StringLength(20)]
        public string PowerGroupName { get; set; }

        public virtual ICollection<Powers> Powers { get; set; }

        public virtual ICollection<Role_Power_Group> Role_Power_Group { get; set; }
    }
}
